"use strict";
/* 初始设置 */
uk.states.boot = {
	init:function(){
		if (!this.game.device.desktop) {
            this.scale.pageAlignVertically = true;
            this.scale.pageAlignHorizontally = true;
            this.scale.forceOrientation(true, false);
        }
	},

	create: function(){
		/** 防止失去焦点被挂起 */
		uk.game.stage.disableVisibilityChange = true;
		// 添加状态
		for(var _s in uk.states){
			this.game.state.add(_s, uk.states[_s]);
		}
		
		this.stage.backgroundColor='#000000';
		this.game.state.start("load");
	},

	update:function(){
	}
};